﻿using System.Globalization;
using System.Threading;
using System.Web.Mvc;

namespace UI.Helper
{
    public class MyController : Controller
    {
        protected CultureInfo Culture
        {
            get { return Thread.CurrentThread.CurrentUICulture; }
            set
            {
                Thread.CurrentThread.CurrentCulture = value;
                Thread.CurrentThread.CurrentUICulture = value;
            }
        }
    }
}